﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;

namespace ACP
{
    public partial class Splash_Form : Form
    {
        private delegate void CloseSplashForm();

        public Splash_Form()
        {
            InitializeComponent();
            Thread displayWait=new Thread (new ThreadStart (DelaySplash));
            displayWait.Start();
        }
        private void DelaySplash()
        {
            Thread.Sleep(3000);
            CloseSplashForm close = new CloseSplashForm(CloseForm);
            this.Invoke(close);            
        }
        private void CloseForm()
        {
            this.Close();
           
        }
    }
}
